<%@ include file="/taglibs.jsp"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
		<LINK rel=stylesheet type=text/css
			href="${ctx}/resources/css/style.css">
		<SCRIPT type=text/javascript src="${ctx}/resources/js/jquery.js"></SCRIPT>
		
 

<script type="text/javascript">
	function vilidateForm()
	{
		var ele = document.getElementsByTagName("input");
		for(var i = 0;i<ele.length;i++){
			if(ele[i].type=="text"){
				if(ele[i].value==""){
					alert("所有的项为必须填写项，请填写后提交");
					return false;
				}
			}
		}
		return true;
	}
</script>
</head>
<body>
<form id="fm-edit" method="post" class="cmxform" action="${ctx}/user/save.htm" onsubmit="return vilidateForm()">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="M_B8">
        <tr>
            <TD class=Li_Top height=31
						background=${ctx}/resources/images/Li_1.gif>
						当前位置：
						首页 &gt;
						信息管理 &gt;
						信息列表
					</TD>
        </tr>
        </table>
        <input type="hidden" name="uid" value=""/>
    <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#BCCFE6">
        <tr class="Li_LB3">
            <td colspan="4">
                <b>基本信息 <font color="red">(以下所有项必须填写)</font></b>
            </td>
        </tr>
        <tr>
            <td width="10%" class="Li_LB2">
             	   姓名
            </td>
            <td class="Li_LB2">
              	<input type="text" name="username" />
            </td>
            <td width="10%" class="Li_LB2">
             	 电话
            </td>
            <td class="Li_LB2">
              	<input type="text" name="telephone"/>
            </td>
        </tr>
        <tr>
            <td width="10%" class="Li_LB2">
             	 登录名
            </td>
            <td class="Li_LB2">
              	<input type="text" name="loginname"/>
            </td> 
            <td width="10%" class="Li_LB2">
             	   密码
            </td>
            <td class="Li_LB2">
              	<input type="password" name="passwords"/>
            </td>
        </tr>
        
        <tr>
            <td width="10%" class="Li_LB2">
             	   客户等级
            </td>
            <td class="Li_LB2">
              	<select name="custlever">
              		<option value="4">优质大客户</option>
              		<option value="3">优质普通客户</option>
              		<option value="2">一般客户</option>
              		<option value="1">劣质客户</option>
              	</select>
            </td>
         
            <td width="10%" class="Li_LB2">
             	   发送等级
            </td>
            <td class="Li_LB2">
              	<select name="sendlever">
              		<option value="4">及时发送（一级）</option>
              		<option value="3">普通发送（二级）</option>
              		<option value="2">延时发送（三级）</option>
              	</select>
              	
            </td>
        </tr>
        <tr>
            <td width="10%" class="Li_LB2">
             	   是否需要审核
            </td>
            <td class="Li_LB2">
              	<select name="isaudit">
              		<option value="1">是</option>
              		<option value="0">否</option>
              	</select>
            </td> 
            <td width="10%" class="Li_LB2">
             	 发送通道
            </td>
            <td class="Li_LB2">
              	<input type="text" name="sendchannel"/>
            </td>
        </tr>
        <tr>
            <td width="10%" class="Li_LB2">
             	 是否需要签名
            </td>
            <td class="Li_LB2">
              	<select name="issign">
              		<option value="1">是</option>
              		<option value="0">否</option>
              	</select>
            </td> 
            <td width="10%" class="Li_LB2">
             	   签名内容
            </td>
            <td class="Li_LB2">
              	<input type="text" name="signname"/>
            </td>
        </tr>
       
        <tr class="Li_LB3">
            <td colspan="4">
                <b>账户信息</b>
            </td>
        </tr>
      	<tr>
            <td width="10%" class="Li_LB2">
             	 可用条数
            </td>
            <td class="Li_LB2"  colspan="3">
              	<input type="text" name="account"/>
            </td>
        </tr>
        
        <tr class="Li_LB3">
            <td colspan="4">
                <strong>黑白名单号码</strong>
            </td>
        </tr>
        <tr>
            <td width="10%" class="Li_LB2">
             	  黑名单
            </td>
            <td class="Li_LB2">
              	<textarea rows="5" cols="50" name="blacklist"></textarea>
            </td>
         
            <td width="10%" class="Li_LB2">
             	  白名单
            </td>
            <td class="Li_LB2">
              	<textarea rows="5" cols="50" name="whitelist"></textarea>
            </td>
        </tr>
        <tr class="Li_LB3">
            <td colspan="4">
                <strong>扣量类型</strong>
            </td>
        </tr>
        <tr>
            <td width="10%" class="Li_LB2">
             	  是否扣量
            </td>
            <td class="Li_LB2">
              	<select name="iskou">
              		<option value="1">是</option>
              		<option value="0">否</option>
              	</select>
            </td>
        
            <td width="10%" class="Li_LB2">
             	  扣量类型
            </td>
            <td class="Li_LB2">
              	<select name="koutype">
              		<option value="1">按比例</option>
              		<option value="0">固定值</option>
              	</select>
            </td>
        </tr>
         <tr>
            <td width="10%" class="Li_LB2">
             	  扣量条件
            </td>
            <td class="Li_LB2">
              	<select name="koucondition">
              		<option value="1">>2000(大于2000)</option>
              		<option value="1">>1000(大于1000)</option>
              		<option value="0">>500(大于500)</option>
              		<option value="0">>100(大于100)</option>
              	</select>
            </td> 
            <td width="10%" class="Li_LB2">
             	  扣量值
            </td>
            <td class="Li_LB2">
              	<input type="text" name="kouvalue"/>
            </td>
        </tr>
        <tr>
            <td colspan="4" class="Li_LB4">
                <input type="submit" name="Button1" value="保存" id="Button1" class="Ok_Input" />
            </td>
        </tr>
        </table>
</form>
</body>
</html>